
public class CAR {
		public String carName;

		public String use;

		public void drive() {
			System.out.println("这是一台" + carName);
			System.out.println("特性是" + use);
		}

		public String getCarName() {
			return carName;
		}

		public void setCarName(String carName) {
			this.carName = carName;
		}

		public String getUse() {
			return use;
		}

		public void setUse(String use) {
			this.use = use;
		}

	}


